import request from '@/utils/request'

export function getParam(key) {
  return request({
    url: '/msg/' + key,
    method: 'get'
  })
}

export function updateParam(query) {
  return request({
    url: '/param',
    method: 'get',
    params: query
  })
}
